package com.lzh.dlykserver.service;

import com.github.pagehelper.PageInfo;
import com.lzh.dlykserver.entity.TTran;
import com.lzh.dlykserver.query.TranDTO;
import com.lzh.dlykserver.query.TransactionQuery;
import com.lzh.dlykserver.result.TransactionExcel;

import java.util.List;

public interface TransactionService {
    PageInfo<TTran> getTranByPage(Integer current, TransactionQuery tranQuery);

    TTran getTransactionById(Integer id);

    int deleteTransaction(Integer id);

    int batchDeleteTransaction(List<Integer> idList);

    int saveTransactionRemark(TransactionQuery transactionQuery);

    int updateTransaction(TranDTO transactionQuery);

    List<TransactionExcel> getTransactionByExcel(List<String> idList);
}
